package com.suemi.missile.client;

import com.suemi.missile.common.entity.ESDocument;

import java.util.List;

public class QueryResult {
  public boolean success;
  public int total;
  public int size;
  public List<ESDocument> documents;

  public boolean isSuccess() {
    return success;
  }

  public void setSuccess(boolean success) {
    this.success = success;
  }

  public int getTotal() {
    return total;
  }

  public void setTotal(int total) {
    this.total = total;
  }

  public int getSize() {
    return size;
  }

  public void setSize(int size) {
    this.size = size;
  }

  public List<ESDocument> getDocuments() {
    return documents;
  }

  public void setDocuments(List<ESDocument> documents) {
    this.documents = documents;
  }
}
